﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CanDoo.Core;
using CanDoo.Data;
using CanDoo.Contracts;
using CanDoo.Oil.Core.Models;
using CanDoo.Core.Data;
using CanDoo.Oil.Core.DTOs;

namespace CanDoo.Oil.Core.Contracts
{
    /// <summary>
    /// 业务契约——店铺活动
    /// </summary>
    public interface IStoreActivityContract : IServiceBaseCore<StoreActivity>, IServiceBase<StoreActivity>
    {
        /// <summary>
        /// 1.1.5 本店活动:输入门店相关信息去后台请求活动详情
        /// </summary>
        /// <param name="storeNo">店铺号</param>
        /// <returns>店铺活动信息数组,如果找不到返回null</returns>
        Task<StoreCampaign[]> GetByStoreNoAsync(string storeNo);
    }
}

